package com.itjason.service;

import com.itjason.po.Comments;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author dengxiang
* @description 针对表【comments】的数据库操作Service
* @createDate 2024-06-03 21:03:04
*/
public interface CommentsService extends IService<Comments> {

    int addComment(Comments comments);

    int deleteComment(Integer userId, Integer dynamicId,Integer commentId);

    List<Comments> selectCommentsByDynamicId(Integer dynamicId);
}
